home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
wfc007.000
/
include
/
tsockets.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-08
|
1KB
|
43 lines
#ifndef TALKING_SOCKET_CLASS_HEADER
/*
** Author: Samuel R. Blackburn
** CI$: 76300,326
** Internet: sammy@sed.csc.com
**
** You can use it any way you like.
*/
#define TALKING_SOCKET_CLASS_HEADER
class CTalkingSocket : public CSimpleSocket
{
private:
void m_Initialize( void );
public:
CTalkingSocket();
CTalkingSocket( const CString& address, const short p );
CTalkingSocket( const CString& host, const CString& p );
/*
** Destructor should be virtual according to MSJ article in Sept 1992
** "Do More with Less Code:..."
*/
virtual ~CTalkingSocket();
virtual BOOL Open( void );
virtual BOOL Open( const CString& address, const CString& port_name );
virtual BOOL Open( const CString& address, const short p_number );
virtual BOOL Open( const char *name, UINT port_number = 23, CFileException* perror = NULL );
// Overriding CObject Functions
void Dump( CDumpContext& dc ) const;
};
#endif // TALKING_SOCKET_CLASS_HEADER